import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';

class ConfigPage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return new NewPageState();
  }
}

class NewPageState extends State<StatefulWidget> { 
 
  @override
  void initState() {
    super.initState();
   
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
        appBar: new AppBar(
          title: new Text(
            "BSTrobot",
          ),
          backgroundColor: Colors.orange,
        ),
        body: Column(children: <Widget>[
          new Container(
            height: 300,
            width: double.infinity,
            child: Image.asset(
              'assets/cow.jpg',
              fit: BoxFit.fill,
            ),
          ),

          new Divider(
            height: 20,
          ),
          new Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [
            new Text('百事通测试组欢迎您！',
                style: TextStyle(
                  fontSize: 20,
                  color: Colors.blue,
                ))
          ]),

          //登录
          
        ]));
  }
}
